package org.geektimes.configuration.source;

import java.util.Map;

/**
 * Java系统配置
 */
public class JavaSystemPropertiesConfigSource extends MapBasedConfigSource{


    public JavaSystemPropertiesConfigSource() {
        super("Java System Properties", 400);
        initSource();
    }

    @Override
    protected void prepareConfigData(Map configData) throws Throwable {
        configData.putAll(System.getProperties());
    }
}
